/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.guangfan.modules.house.entity;

import org.hibernate.validator.constraints.Length;

import com.jeeplus.common.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 房屋管理Entity
 * @author Ryu Zheng
 * @version 2016-02-20
 */
public class HouseType extends DataEntity<HouseType> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 类型名称
	private String electricityFeeUnitPrice;		// 电费
	private String waterFeeUnitPrice;		// 水费
	private String gasFeeUnitPrice;		// 煤气费
	private String netFeeUnitPrice;		// 网费
	
	public HouseType() {
		super();
	}

	public HouseType(String id){
		super(id);
	}

	@Length(min=1, max=64, message="类型名称长度必须介于 1 和 64 之间")
	@ExcelField(title="类型名称", align=2, sort=1)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="电费", align=2, sort=2)
	public String getElectricityFeeUnitPrice() {
		return electricityFeeUnitPrice;
	}

	public void setElectricityFeeUnitPrice(String electricityFeeUnitPrice) {
		this.electricityFeeUnitPrice = electricityFeeUnitPrice;
	}
	
	@ExcelField(title="水费", align=2, sort=3)
	public String getWaterFeeUnitPrice() {
		return waterFeeUnitPrice;
	}

	public void setWaterFeeUnitPrice(String waterFeeUnitPrice) {
		this.waterFeeUnitPrice = waterFeeUnitPrice;
	}
	
	@ExcelField(title="煤气费", align=2, sort=4)
	public String getGasFeeUnitPrice() {
		return gasFeeUnitPrice;
	}

	public void setGasFeeUnitPrice(String gasFeeUnitPrice) {
		this.gasFeeUnitPrice = gasFeeUnitPrice;
	}
	
	@ExcelField(title="网费", align=2, sort=5)
	public String getNetFeeUnitPrice() {
		return netFeeUnitPrice;
	}

	public void setNetFeeUnitPrice(String netFeeUnitPrice) {
		this.netFeeUnitPrice = netFeeUnitPrice;
	}
	
}